package cn.hncu.booksManagementSystem.in.business.ebo;

import java.util.Collection;

import cn.hncu.booksManagementSystem.book.business.ebi.BookEbi;
import cn.hncu.booksManagementSystem.book.business.factory.BookEbiFactory;
import cn.hncu.booksManagementSystem.in.business.ebi.InDetailEbi;
import cn.hncu.booksManagementSystem.in.dao.dao.InDetailDAO;
import cn.hncu.booksManagementSystem.in.dao.factory.InDetailDaoFactory;
import cn.hncu.booksManagementSystem.in.vo.InDetailModel;
import cn.hncu.booksManagementSystem.in.vo.InDetailQueryModel;
/**
 * CreateTime: 2018年4月22日 上午9:53:56	
 * @author 宋进宇  Email:447441478@qq.com
 * Description:
 *	InDetailEbi实现类
 */
public class InDetailEbo implements InDetailEbi {
	//注入inDetailDao
	InDetailDAO inDetailDao = InDetailDaoFactory.getInstanceOfInDetail();
	
	//注入BookEbi
	BookEbi bookEbi = BookEbiFactory.getInstanceOfBookEbi();
	

	@Override
	public Collection<InDetailModel> getAll() {
		return inDetailDao.getAll();
	}


	@Override
	public Collection<InDetailModel> getInDetailsByCondition(InDetailQueryModel idqm) {
		return inDetailDao.getInDetailsByCondition(idqm);
	}

}
